package com.example.validate.dto;

import lombok.Data;


/**
 * Created by TJ on 2017/9/20.
 */
@Data
public class User {



//    @NotBlank
//    @Length(min = 3)
    private String name;

    private String id;

//    @Length(min = 3,max = 32)
//    @Pattern(regexp = "^[a-zA-Z0-9_]+$")
    private String userName;

    private String password;


}
